package com.sikaryofficial.workbench.domain.dto.resp.order;

import io.swagger.annotations.ApiModel;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author : wuweihong
 * @desc : 购物车
 * @date : 2024-09-28
 */
@Getter
@Setter
@ToString
@ApiModel(value = "购物车DTO出参对象", description = "购物车DTO出参对象")
public class ShoppingCartDTO {

  /**
   * 折扣
   */
  private BigDecimal discount;

  /**
   * 购物车折扣后的总价
   */
  private BigDecimal discountAmount;

  /**
   * 会员激励的折扣比例
   */
  private BigDecimal membershipDiscount;


  /**
   * 币种
   */
  private String currency;
  /**
   * 用户
   */
  private Long userId;

  /**
   * 选中的商品列表
   */
  private List<GoodsOrderDTO> goodsOrderItems;

}
